package com.yayo.mangement.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @DESC 用户信息实体类
 * @AUTHOR YAYO
 * @DATE 2021-09-05
 */
@Data
@ToString
@EqualsAndHashCode
public class SysUser implements Serializable {

    private static final long serialVersionUID = 2181175597519235793L;
    @TableId(type = IdType.AUTO)
    private Long userId;
    private Long tenantId;
    private String userName;
    private String userLoginName;
    private String userPassword;
    private String userSalt;
    private String userPic;
    private String userMobile;
    private String userEMail;
    private Date userLastLogin;
    private Date createdAt;
    private Long createdBy;
    private Integer deleted;

}
